const http = require("http");
var reqUrl ="http://api.jisuapi.com/area/province?appkey=0c2ff7278f14af5a";
http.get(reqUrl,(res)=>{
    var str ="";
    res.on("data",(chunk)=>{
        str += chunk;
    })
    res.on("end",()=>{
        var obj = JSON.parse(str);
        var provindeList = obj.result;
        for(var i=0; i<provindeList.length; i++){
            console.log(provindeList[i]['name'])
        }
    })

})